<!DOCTYPE html>
<!--[if IE 8]>
<html lang="en" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]>
<html lang="en" class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!-->
<html lang="zxx">
<!--<![endif]-->
<!-- Begin Head -->

<head>
    <title >我的作业</title>
    <link id="icon" rel="shortcut icon" href="static/picture/favicon.ico">
    <meta charset="utf-8">
    <meta content="width=device-width, initial-scale=1.0" name="viewport">
    <meta name="description" content="">
    <meta name="keywords" content="">
    <meta name="author" content="">
    <meta name="MobileOptimized" content="320">
    <!--Start Style -->
    <link rel="stylesheet" type="text/css" href="static/css/fonts.css">
    <link rel="stylesheet" type="text/css" href="static/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="static/css/font-awesome.min.css">
    <link rel="stylesheet" type="text/css" href="static/css/icofont.min.css">
    <link rel="stylesheet" type="text/css" href="static/css/style.css">
    <link rel="stylesheet" id="theme-change" type="text/css" href="">
    <script src="static/js/jquery.min.js"></script>
    <script src="static/js/js_on_develop/header.js"></script>
    <script src=static/js/js_on_develop/basic.js></script>
    <script src="static/js/js_on_develop/assignment-add.js"></script>
    <script>init()</script>
</head>


<body>
<div class="loader">
    <div class="spinner">
        <img src="static/picture/loader.gif" alt="">
    </div>
</div>
<!-- Main Body -->
<div class="page-wrapper">

    <!-- Header 公共部分 -->
    <div class="header-page"></div>
    <!-- Container Start -->
    <div class="page-wrapper">
        <div class="main-content">

            <div class="from-wrapper">
                <div class="row">


                    <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12">
                        <div class="card">

                            <div class="card-body">
                                    <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12">
                                        <hr class="mt-4 mb-4">
                                        <h5 class="from-title mb-1">添加作业</h5>
                                        <div class="row">
                                            <div class="col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12">
                                                <div class="form-group">
                                                    <label for="course-select" class="col-form-label">课程名</label>
                                                    <select   id="course-select" class="select2 form-control" >
                                                        <option>课程</option>
                                                    </select>
                                                </div>
                                            </div>
                                            <div class="col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12">
                                                <div class="form-group">
                                                    <label for="cno-select" class="col-form-label">所在班级</label>
                                                    <select class="select2 form-control" id="cno-select">
                                                        <option value="AK">班级</option>
                                                    </select>
                                                </div>
                                            </div>
                                            <div class="col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12">
                                                <div class="form-group">
                                                    <label for="assignmentName" class="col-form-label">作业名</label>
                                                    <input class="form-control" type="text" placeholder="assignment name" id="assignmentName">
                                                </div>
                                            </div>
                                            <div class="col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12">
                                                <div class="form-group">
                                                    <label for="detail" class="col-form-label">作业详情</label>
                                                    <input class="form-control" type="text" placeholder="assignment detail" id="detail">
                                                </div>
                                            </div>
                                        </div>
                                        <hr>
                                        <div class="form-group mb-0">
                                            <button class="btn btn-primary" type="button" onclick="addAssignment()">添加作业</button>

                                    </div>

                            </div>
                        </div>
                    </div>


                </div>

            </div>


        </div>
    </div>
</div>
</div>

<!-- Color Setting -->

<!-- Script Start -->
<script src="static/js/jquery.min.js"></script>
<script src="static/js/popper.min.js"></script>
<script src="static/js/bootstrap.min.js"></script>
<script src="static/js/custom.js"></script>

</body>
<script>
    $("#course-select").change(()=>{
        getClassByCourse()
    })
</script>
</html>
